home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / dev / mui / MCC_TearOff.lha / MCC_TearOff / Developer / AutoDocs / MCC_TearOffBay.doc next >
Text File  |  1999-01-10  |  2KB  |  73 lines

  1. TABLE OF CONTENTS
  2.  
  3. TearOffBay.mcc/TearOffBay.mcc
  4. TearOffBay.mcc/TearOffBay.mcc
  5.  
  6. This class can hold some TearOffPanels and allows the user to
  7. arrange them with mouse (and menu).
  8.  
  9. The layout is stored during MUIM_Application_Save (you have to
  10. define ObjectID for the Bay _AND_ for every panel that should be
  11. remembered). You don't have to make any special configuration
  12. options, just add the panels and your user will choose what
  13. (s)he likes!
  14.  
  15. The panels are simply children of the bay. They should be defined
  16. at creation time ('MUIA_Group_Child' or 'Child').
  17. Dynamic adding/removing is NOT suported at the moment.
  18.  
  19. NEW in V13:
  20.  - horizontal and vertical layout
  21.  - panels can be fixed to any bay in the set of linked bays
  22.  
  23. still missing:
  24.  - localization
  25.  - something more?
  26.  
  27. TearOff classes are Polymorphware. That means, if you use it in your program,
  28. you have to pay/send me what you expect from your users, eg. if it is
  29. 'Chocolateware' you should send me a bar of chocolate. Freeware programs
  30. can use TearOff for free, of course.
  31.  
  32.  
  33. Szymon Ulatowski, szulat@friko6.onet.pl
  34.  
  35.  support site: 
  36. http://friko6.onet.pl/rz/szulat/tearoff/
  37.  
  38. TearOffBay.mcc/MUIA_TearOffBay_Horiz
  39.  
  40.     NAME
  41.     MUIATearOffBay_Horiz -- [I..], BOOL
  42.  
  43.     FUNCTION
  44.    Layout type for the bay.
  45.    Default is TRUE that means horizontal layout.
  46.  
  47. TearOffBay.mcc/MUIA_TearOffBay_LinkedBay
  48.  
  49.     NAME
  50.     MUIA_TearOffBay_LinkedBay -- [ISG], 
  51.  
  52.     FUNCTION
  53.    The user can move the panels between the bays if the bays
  54.    are linked.
  55.    If you are using ObjectID's to store the layout, the bays
  56.    should be already linked when you call Application_Load!
  57.     
  58.  
  59.     EXAMPLE
  60.    You can link many bays in one call:
  61.  
  62.     SetAttrs(firstbay,MUIA_TearOffBay_LinkedBay,secondbay,
  63.         MUIA_TearOffBay_LinkedBay,thirdbay,
  64.         MUIA_TearOffBay_LinkedBay,fourthbay,0);
  65.  
  66.  
  67.     BUGS
  68.    Currently there is no way to unlink the bays.
  69.    This means you should dispose a whole set of linked bays.
  70.    If only one bay is disposed, the remaining ones become invalid!
  71.    In common cases (all bays are in one window) it will not cause
  72.    any problems.
  73.